# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'main.ui'
##
## Created by: Qt User Interface Compiler version 5.14.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QMetaObject, QObject, QPoint,
    QRect, QSize, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont,
    QFontDatabase, QIcon, QLinearGradient, QPalette, QPainter, QPixmap,
    QRadialGradient)
from PySide6.QtWidgets import *

import main_rc

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(858, 798)
        icon = QIcon()
        icon.addFile(u":/img/icon.png", QSize(), QIcon.Normal, QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.gridLayout = QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.col = QWidget(self.centralwidget)
        self.col.setObjectName(u"col")
        self.verticalLayout = QVBoxLayout(self.col)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.tab_widget = QTabWidget(self.col)
        self.tab_widget.setObjectName(u"tab_widget")
        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tab_widget.sizePolicy().hasHeightForWidth())
        self.tab_widget.setSizePolicy(sizePolicy)
        self.tab_split = QWidget()
        self.tab_split.setObjectName(u"tab_split")
        self.gridLayout_2 = QGridLayout(self.tab_split)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.input_file_button = QToolButton(self.tab_split)
        self.input_file_button.setObjectName(u"input_file_button")

        self.gridLayout_2.addWidget(self.input_file_button, 0, 3, 1, 2)

        self.info_label = QLabel(self.tab_split)
        self.info_label.setObjectName(u"info_label")

        self.gridLayout_2.addWidget(self.info_label, 2, 2, 1, 1)

        self.output_dir_button = QToolButton(self.tab_split)
        self.output_dir_button.setObjectName(u"output_dir_button")
        sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.output_dir_button.sizePolicy().hasHeightForWidth())
        self.output_dir_button.setSizePolicy(sizePolicy1)

        self.gridLayout_2.addWidget(self.output_dir_button, 1, 3, 1, 2)

        self.mode_label = QLabel(self.tab_split)
        self.mode_label.setObjectName(u"mode_label")

        self.gridLayout_2.addWidget(self.mode_label, 2, 0, 1, 1)

        self.comboBox = QComboBox(self.tab_split)
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.setObjectName(u"comboBox")
        font = QFont()
        font.setFamily(u"Arial")
        font.setPointSize(10)
        self.comboBox.setFont(font)

        self.gridLayout_2.addWidget(self.comboBox, 3, 0, 1, 1)

        self.input_info = QLineEdit(self.tab_split)
        self.input_info.setObjectName(u"input_info")

        self.gridLayout_2.addWidget(self.input_info, 3, 2, 1, 1)

        self.output_dir_label = QLabel(self.tab_split)
        self.output_dir_label.setObjectName(u"output_dir_label")

        self.gridLayout_2.addWidget(self.output_dir_label, 1, 0, 1, 1)

        self.input_file = QLineEdit(self.tab_split)
        self.input_file.setObjectName(u"input_file")

        self.gridLayout_2.addWidget(self.input_file, 0, 2, 1, 1)

        self.output_dir = QLineEdit(self.tab_split)
        self.output_dir.setObjectName(u"output_dir")

        self.gridLayout_2.addWidget(self.output_dir, 1, 2, 1, 1)

        self.input_file_label = QLabel(self.tab_split)
        self.input_file_label.setObjectName(u"input_file_label")

        self.gridLayout_2.addWidget(self.input_file_label, 0, 0, 1, 1)

        self.tab_widget.addTab(self.tab_split, "")
        self.tab_merge = QWidget()
        self.tab_merge.setObjectName(u"tab_merge")
        self.gridLayout_4 = QGridLayout(self.tab_merge)
        self.gridLayout_4.setObjectName(u"gridLayout_4")
        self.input_files_button = QToolButton(self.tab_merge)
        self.input_files_button.setObjectName(u"input_files_button")

        self.gridLayout_4.addWidget(self.input_files_button, 0, 3, 1, 1)

        self.output_file_button = QToolButton(self.tab_merge)
        self.output_file_button.setObjectName(u"output_file_button")

        self.gridLayout_4.addWidget(self.output_file_button, 1, 3, 1, 1)

        self.output_file_label = QLabel(self.tab_merge)
        self.output_file_label.setObjectName(u"output_file_label")

        self.gridLayout_4.addWidget(self.output_file_label, 1, 0, 1, 1)

        self.input_files = QLineEdit(self.tab_merge)
        self.input_files.setObjectName(u"input_files")

        self.gridLayout_4.addWidget(self.input_files, 0, 2, 1, 1)

        self.input_files_label = QLabel(self.tab_merge)
        self.input_files_label.setObjectName(u"input_files_label")

        self.gridLayout_4.addWidget(self.input_files_label, 0, 0, 1, 1)

        self.output_file = QLineEdit(self.tab_merge)
        self.output_file.setObjectName(u"output_file")

        self.gridLayout_4.addWidget(self.output_file, 1, 2, 1, 1)

        self.tab_widget.addTab(self.tab_merge, "")

        self.verticalLayout.addWidget(self.tab_widget)

        self.tableWidget = QTableWidget(self.col)
        if (self.tableWidget.columnCount() < 4):
            self.tableWidget.setColumnCount(4)
        self.tableWidget.setObjectName(u"tableWidget")
        self.tableWidget.setEditTriggers(QAbstractItemView.NoEditTriggers)
        self.tableWidget.setColumnCount(4)
        self.tableWidget.horizontalHeader().setVisible(True)
        self.tableWidget.horizontalHeader().setDefaultSectionSize(78)
        self.tableWidget.horizontalHeader().setStretchLastSection(True)
        self.tableWidget.verticalHeader().setVisible(False)

        self.verticalLayout.addWidget(self.tableWidget)

        self.preview_button = QPushButton(self.col)
        self.preview_button.setObjectName(u"preview_button")
        font1 = QFont()
        font1.setFamily(u"Arial")
        font1.setPointSize(12)
        self.preview_button.setFont(font1)

        self.verticalLayout.addWidget(self.preview_button)

        self.start_button = QPushButton(self.col)
        self.start_button.setObjectName(u"start_button")
        self.start_button.setFont(font1)

        self.verticalLayout.addWidget(self.start_button)


        self.gridLayout.addWidget(self.col, 0, 0, 1, 1)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 858, 23))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)

        self.tab_widget.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"SmoothPDF", None))
        self.input_file_button.setText(QCoreApplication.translate("MainWindow", u"...", None))
        self.info_label.setText(QCoreApplication.translate("MainWindow", u"\u5206\u5272\u53c2\u6570\uff1a\u7b80\u6613\u6a21\u5f0f\u8f93\u5165\u6bcf\u6587\u4ef6\u9875\u6570\uff0c\u5982100\u3002\u9ad8\u7ea7\u6a21\u5f0f\u8f93\u5165\u5177\u4f53\u5206\u5272\u9875\u6570\uff0c\u6309\u82f1\u6587\u9017\u53f7\u5206\u5272\uff0c\u598210,25,30\u3002", None))
        self.output_dir_button.setText(QCoreApplication.translate("MainWindow", u"...", None))
        self.mode_label.setText(QCoreApplication.translate("MainWindow", u"\u5206\u5272\u6a21\u5f0f\uff1a", None))
        self.comboBox.setItemText(0, QCoreApplication.translate("MainWindow", u"\u7b80\u6613\u6a21\u5f0f", None))
        self.comboBox.setItemText(1, QCoreApplication.translate("MainWindow", u"\u9ad8\u7ea7\u6a21\u5f0f", None))

        self.comboBox.setCurrentText(QCoreApplication.translate("MainWindow", u"\u7b80\u6613\u6a21\u5f0f", None))
        self.output_dir_label.setText(QCoreApplication.translate("MainWindow", u"\u8f93\u51fa\u6587\u4ef6\u5939\uff1a", None))
        self.input_file_label.setText(QCoreApplication.translate("MainWindow", u"\u8f93\u5165\u6587\u4ef6\uff1a", None))
        self.tab_widget.setTabText(self.tab_widget.indexOf(self.tab_split), QCoreApplication.translate("MainWindow", u"\u5206\u5272", None))
        self.input_files_button.setText(QCoreApplication.translate("MainWindow", u"...", None))
        self.output_file_button.setText(QCoreApplication.translate("MainWindow", u"...", None))
        self.output_file_label.setText(QCoreApplication.translate("MainWindow", u"\u8f93\u51fa\u5355\u4e2a\u6587\u4ef6\uff1a", None))
        self.input_files_label.setText(QCoreApplication.translate("MainWindow", u"\u8f93\u5165\u591a\u4e2a\u6587\u4ef6\uff1a", None))
        self.tab_widget.setTabText(self.tab_widget.indexOf(self.tab_merge), QCoreApplication.translate("MainWindow", u"\u5408\u5e76", None))
        self.preview_button.setText(QCoreApplication.translate("MainWindow", u"\u9884\u89c8", None))
        self.start_button.setText(QCoreApplication.translate("MainWindow", u"\u5f00\u59cb", None))
    # retranslateUi

